<?
/**
 * <b>ExternalTransactionType Class</b>
 * Published 04/11/2010 18:57:31
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('AmountType.php');

class ExternalTransactionType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var string $ExternalTransactionID
	public $ExternalTransactionID;
	// @var dateTime $ExternalTransactionTime
	public $ExternalTransactionTime;
	// @var AmountType $FeeOrCreditAmount
	public $FeeOrCreditAmount;
	// @var AmountType $PaymentOrRefundAmount
	public $PaymentOrRefundAmount;
 /** End Properties **/

/**
 *
 * @return string
 */
	function getExternalTransactionID(){
		return $this->ExternalTransactionID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setExternalTransactionID($value){
		$this->ExternalTransactionID = $value;
	}


/**
 *
 * @return dateTime
 */
	function getExternalTransactionTime(){
		return $this->ExternalTransactionTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setExternalTransactionTime($value){
		$this->ExternalTransactionTime = $value;
	}


/**
 *
 * @return AmountType
 */
	function getFeeOrCreditAmount(){
		return $this->FeeOrCreditAmount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setFeeOrCreditAmount($value){
		$this->FeeOrCreditAmount = $value;
	}


/**
 *
 * @return AmountType
 */
	function getPaymentOrRefundAmount(){
		return $this->PaymentOrRefundAmount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPaymentOrRefundAmount($value){
		$this->PaymentOrRefundAmount = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("ExternalTransactionType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"ExternalTransactionID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ExternalTransactionTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"FeeOrCreditAmount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PaymentOrRefundAmount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
